<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>悬疑-目录页</title>
        <style>
            .box{
                width: 420px;
                height: 300px;
                margin: 100px auto;
                background-color: #d6ec08;
            }
            li
            {
                display: inline-block;
                width: 200px;
                text-align: center;
            }
            span{
                display: inline-block;
                width: 200px;
                text-align: center;
                font-size: 24px;
                font-weight: 800;
            }
        </style>
    </head>
    <body>
        <div class="box">
                <p style="padding-top: 20px">
                    <span>书名</span>
                    <span>作者</span>
                </p>
            <ul style="padding-left: 0">
                {% for i in xuanyi_list %}
                    {% for j in i.values() %}
                        <li>{{j}}</li>
                    {% endfor %}
                <hr style="width: 419px">
                {% endfor %}
            </ul>
        </div>
    </body>
</html>